#include"web.h"
main()
{
char username[50],password[50];
returnPostString("user",username);
returnPostString("pass",password);
if(strcmp(username,"sriram")==0 && strcmp(password,"test123")==0)
{
setCookie("is_valid_session","1",3600*2);
redirect("home.c");
}
else
{
redirect("index.c?msg=1");
}
initHtml();
}